using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 退货单和明细组合创建DTO，用于创建时不包含系统自动生成的字段
    /// </summary>
    public class ReturnOrderWithDetailsCreateDto
    {
        /// <summary>
        /// 退货单创建DTO
        /// </summary>
        [Required]
        public ReturnOrderCreateDto ReturnOrder { get; set; }

        /// <summary>
        /// 退货明细创建DTO列表
        /// </summary>
        [Required]
        public List<ReturnOrderDetailCreateDto> ReturnOrderDetails { get; set; }
    }
}